package com.xindaoapp.happypet.bean;

public class ClubC {
    private String fid;
    private String name;
    private String lname;
    private int id;
    private String pud;
    private String picUrl;


    public ClubC() {
        super();
    }

    public String getPud() {
        return pud;
    }

    public void setPud(String pud) {
        this.pud = pud;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public ClubC(String fid, String name, String lname, int id, String pud) {
        super();
        this.fid = fid;
        this.name = name;
        this.lname = lname;
        this.id = id;
        this.pud = pud;
    }

    public ClubC(String fid, String name, String lname, String picUrl, String pud) {
        super();
        this.fid = fid;
        this.name = name;
        this.lname = lname;
        this.picUrl = picUrl;
        this.pud = pud;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((fid == null) ? 0 : fid.hashCode());
        result = prime * result + id;
        result = prime * result + ((lname == null) ? 0 : lname.hashCode());
        result = prime * result + ((name == null) ? 0 : name.hashCode());
        result = prime * result + ((pud == null) ? 0 : pud.hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        ClubC other = (ClubC) obj;
        if (fid == null) {
            if (other.fid != null)
                return false;
        } else if (!fid.equals(other.fid))
            return false;
        if (id != other.id)
            return false;
        if (lname == null) {
            if (other.lname != null)
                return false;
        } else if (!lname.equals(other.lname))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (pud == null) {
            if (other.pud != null)
                return false;
        } else if (!pud.equals(other.pud))
            return false;
        return true;
    }



}
